package com.zhiche.lisa.lspm.dao.model.lsp.bo;


import com.zhiche.lisa.lspm.dao.model.lsp.LspLicenseAttach;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

/**
 * 编辑承运商证照 BO
 * @since 2018-05-24
 * @author lbl
 */
public class ModifyLspLicenseBO {

    /**
     * 证照 id
     */
    private Long id;
    /**
     * 证照编码
     */
    private String licenseId;
    /**
     * 生效日期
     */
    private Date gmtReg;
    /**
     * 失效日期
     */
    private Date gmtOverdue;
    /**
     * 承运商id
     */
    private Long lspId;

    /**
     * 证照类型id
     */
    private Long licenseTypeId;

    /**
     * 状态（0为失效1为正常）
     */
    private Integer status;

    /**
     * 证照附件
     */
    List<LspLicenseAttach> licenseAttachList = new ArrayList<>();

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getLicenseId() {
        return licenseId;
    }

    public void setLicenseId(String licenseId) {
        this.licenseId = licenseId;
    }

    public Date getGmtReg() {
        return gmtReg;
    }

    public void setGmtReg(Date gmtReg) {
        this.gmtReg = gmtReg;
    }

    public Date getGmtOverdue() {
        return gmtOverdue;
    }

    public void setGmtOverdue(Date gmtOverdue) {
        this.gmtOverdue = gmtOverdue;
    }

    public Long getLspId() {
        return lspId;
    }

    public void setLspId(Long lspId) {
        this.lspId = lspId;
    }

    public Long getLicenseTypeId() {
        return licenseTypeId;
    }

    public void setLicenseTypeId(Long licenseTypeId) {
        this.licenseTypeId = licenseTypeId;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public List<LspLicenseAttach> getLicenseAttachList() {
        return licenseAttachList;
    }

    public void setLicenseAttachList(List<LspLicenseAttach> licenseAttachList) {
        this.licenseAttachList = licenseAttachList;
    }


    @Override
    public String toString() {
        return "ModifyLspLicenseBO{" +
                "id=" + id +
                ", licenseId='" + licenseId + '\'' +
                ", gmtReg=" + gmtReg +
                ", gmtOverdue=" + gmtOverdue +
                ", lspId=" + lspId +
                ", licenseTypeId=" + licenseTypeId +
                ", status=" + status +
                ", licenseAttachList=" + licenseAttachList +
                '}';
    }
}
